#include "include.h"

#ifdef USE_NULL

#include "null_graphicpainter.h"


#include "compile/debug_memoryleaks"

using namespace gui;
using namespace nullgui;

GraphicPainterNULL* GraphicPainterNULL::create()
{
    return new GraphicPainterNULL();
}



GraphicPainterNULL::GraphicPainterNULL()
: current_pos(0,0,0)
{
}


GraphicPainterNULL::~GraphicPainterNULL()
{
   
}



///////////////////




void GraphicPainterNULL::moveTo(int x, int y)
{
    current_pos.set(x,y,0);
}


void GraphicPainterNULL::lineTo(int x, int y)
{
    Vector to_pos(x,y,0);
	
	current_pos = to_pos;
}

/**
 * Draws a grid point at (x1, y1).
 */
void GraphicPainterNULL::drawGridPoint(const Vector& p) {
    
}



/**
 * Draws a point at (x1, y1).
 */
void GraphicPainterNULL::drawPoint(const Vector& p) {
    
}



/**
 * Draws a line from (x1, y1) to (x2, y2).
 */
void GraphicPainterNULL::drawLine(const Vector& p1, const Vector& p2) {

}





#endif
